<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="modelo.*,java.util.*"%>
<%@ include file="Ccab.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../css/view.css" media="all">
<script language="javascript" src="../js/funciones.js"> </script>
<script type="text/javascript" src="../js/calendar.js"></script>

<title>Registrar Usuario</title>

</head>
<body>

<form action="../ControladorFrontal?command=CommandGuardarUsuario" method="post" onsubmit= "return validarDatosFormularioUsuario();" name="frmUsuario" id="frmUsuario">
<table width="100%" cellspacing="0" border="0" cellpadding="0">
	<tr>
	  <td id='celda'>
	   <div align="center">
	   <br><br>
		<h1>Datos del Usuario:</h1>
		 	<br>	 		
			<table cellspacing="0"  cellpadding="0">
			<tr>
				<td width="80px" height="40px">Cedula:</td>
				<td><input type="text" name="cedula" size="10"  maxlength="8" onkeypress="return validarEntero(event)"   ></input></td>
			</tr>
			<tr>
				<td width="80px" height="40px">Nombre:</td>
				<td><input type="text" name="nombre"  size="20" maxlength="50"  onkeypress="return validarSoloLetras(event)"></input></td>
			</tr>
			
			<tr>
				<td width="80px" height="40px">Apellido:</td>
				<td><input type="text" name="apellido"  size="20" maxlength="50"  onkeypress="return validarSoloLetras(event)"></input></td>
			</tr>
       
		<td width="80px" height="40px" >fecha Nacimiento: </td>
		
			<td><input id="element_1_2" name="dd" class="element text" size="2" maxlength="2" value="" type="text" onkeypress="return validarEntero(event)" > /DD
			 <input id="element_1_1" name="mm" class="element text" size="2" maxlength="2" value="" type="text" onkeypress="return validarEntero(event)" > /MM
	 		 <input id="element_1_3" name="aaaa" class="element text" size="4" maxlength="4" value="" type="text" onkeypress="return validarEntero(event)" >/YYYY
			 <img id="cal_img_1" class="datepicker" src="../imagenes/calendar.gif" alt="Pick a date.">	</td>

		<script type="text/javascript">
			Calendar.setup({
			inputField	 : "element_1_3",
			baseField    : "element_1",
			displayArea  : "calendar_1",
			button		 : "cal_img_1",
			ifFormat	 : "%B %e, %Y",
			onSelect	 : selectDate
			});
		</script>
		</li>				
			</tr>			
			<tr>
				<td width="80px" height="40px">Pasword:</td>
				<td><input type="password" name="password" size="20" maxlength="50" ></input></td>
			</tr>
			
			<tr>
				<td width="80px" height="40px">Pasword:</td>
				<td><input type="password" name="confirmarPassword" size="20" maxlength="50" ></input></td>
			</tr>
			
				<tr>
				<td colspan="2" align="center">		
				    &nbsp;		
				 </td>
			</tr>
			<tr>
				<td colspan="2" align="center">		
					<input type="submit" name="botonEnviar" value="Enviar"></input>	
					<input type="reset" name="botonLimpiar" value="Limpiar"></input>		
				</td>
			</tr>	
				
		</table>
	   </div>
	   <br><br><br>
	 </td>
	</tr>
</table>
</form>
<div id="copyright">
				&copy;  Proyecto | Design: <a href="www.guillemox_asarox.wix.com/marca-personal">Asaro Guillermo and <a href="www.suarezcumare.wix.com/tonysuarez"> Suarez Tony</a> </a>
			</div>
</body>
</html>